package com.zwl.chengguangservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/** @date 2022/02/19 */
@TableName("sp_app_version")
public class AppVersion {
    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("app_type")
    private Integer appType;

    @TableField("version_number")
    private Integer versionNumber;

    @TableField("version_name")
    private String versionName;

    @TableField("release_time")
    private Date releaseTime;

    @TableField("download_url")
    private String downloadUrl;

    @TableField("upgrade_compulsively")
    private Boolean upgradeCompulsively;

    public AppVersion() {
    }

    private String remark;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getAppType() {
        return appType;
    }

    public void setAppType(Integer appType) {
        this.appType = appType;
    }

    public Integer getVersionNumber() {
        return versionNumber;
    }

    public void setVersionNumber(Integer versionNumber) {
        this.versionNumber = versionNumber;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public Date getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(Date releaseTime) {
        this.releaseTime = releaseTime;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }

    public Boolean getUpgradeCompulsively() {
        return upgradeCompulsively;
    }

    public void setUpgradeCompulsively(Boolean upgradeCompulsively) {
        this.upgradeCompulsively = upgradeCompulsively;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
